//
//  SNImageCell.h
//  DayDayHappy
//
//  Created by yutao on 14-2-21.
//  Copyright (c) 2014年 yutao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SNBaseCell.h"
#import "SNShareButton.h"

@protocol SNImageCellDelegate;

@interface SNImageCell : SNBaseCell
{
    //作者
    UILabel *txtAnchor;  
    //评论
    SNShareButton *commentBtn;
    //分享
    SNShareButton *shareBtn;
    //评论数
    UILabel *commentCount;
    //更新时间
    UILabel *updateTime;
    
    __weak id<SNImageCellDelegate> delegate;
}

@property (weak,nonatomic)id<SNImageCellDelegate> delegate;
@end

@protocol SNImageCellDelegate <NSObject>

-(void)imageCell:(SNImageCell*)imgCell didSelectRowAtIndexPath:(NSIndexPath *)indexPath;

-(void)commentButton:(UIButton*)commentBtn didSelectRowAtIndexPath:(NSIndexPath *)indexPath;

-(void)shareButton:(UIButton*)shareBtn didSelectRowAtIndexPath:(NSIndexPath *)indexPath;


@end
